package com.example.demo.service;

import com.example.demo.entity.Cart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author GJC
* @description 针对表【cart】的数据库操作Service
* @createDate 2025-01-12 23:14:37
*/
public interface CartService extends IService<Cart> {
    int addCart(Cart cart);
    int updateQuantity(Cart cart);
    int clearCart(int user_id);
    List<Cart> getList(int user_id);
}
